Application Software Structure - Implementation

This chapter describes how the software structure described before is implemented. Insofar as all modules are implemented and behave in the same way, only the main module is described in detail here.

SFC children building up the software

The following files contain all the data to build up the application. They are all required to ensure a successful compilation.

 

Parent SFCClosed"Sequential function chart" It can be used to program processes that can be split into steps. The main components of SFC are: - Steps with associated actions - Transitions with associated logic conditions - Directed links between steps and transitions

Main

System start up and SFC children call

 

Main module SFC children

M1_StateController

state and function controller of the main module

M1_ErrorHandling

error handling of the main module

M1_IndependentFunctions

state independent functions of the main module

M1_Interface

interface to PLCClosed"Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events

 

Axis module SFC children

Ai_StateController

state and function controller of the axis module

Ai_ErrorHandling

error handling of the axis module

Ai_IndependentFunctions

state independent functions of the axis module

With i = 1... n